import resize from './resize'

const install = function(Vue) {
  Vue.directive('panel-resize', resize)
}

if (window.Vue) {
  window['panel-resize'] = resize
  Vue.use(install); // eslint-disable-line
}

resize.install = install
export default resize
